package ddn.dao;

import java.sql.Timestamp;
import java.util.List;

import ddn.dao.hibernate.generic.GenericDAO;
import ddn.dao.hibernate.pojo.UserProfile;


/**
 * <p>Generic DAO layer for UserProfiles</p>
 * <p>Generated at Mon May 07 17:59:06 CEST 2012</p>
 *
 * @author Salto-db Generator v1.0.16 / EJB3 + Spring/Hibernate DAO
 * @see http://www.hibernate.org/328.html
 */
public interface UserProfileDAO extends GenericDAO<UserProfile,Integer> {

	/*
	 * TODO : Add specific businesses daos here.
	 * These methods will be overwrited if you re-generate this interface.
	 * You might want to extend this interface and to change the dao factory to return 
	 * an instance of the new implemenation in buildUserProfileDAO()
	 */
	  	 
	/**
	 * Find UserProfile by login
	 */
	public List<UserProfile> findByLogin(String login);

	/**
	 * Find UserProfile by passwd
	 */
	public List<UserProfile> findByPasswd(String passwd);

	/**
	 * Find UserProfile by name
	 */
	public List<UserProfile> findByName(String name);

	/**
	 * Find UserProfile by birthday
	 */
	public List<UserProfile> findByBirthday(Timestamp birthday);

	/**
	 * Find UserProfile by gender
	 */
	public List<UserProfile> findByGender(String gender);

}